import { PageRes, BigDataPageRes } from '@/api/types'
import request from '@/utils/request'
import { LogModel } from '@/api/model/log-model'

// 获取日志管理列表
export function logPageApi(data) {
  return request<BigDataPageRes<LogModel>>({
    url: '/log/log/page',
    method: 'post',
    data
  })
}
// 获取日志管理列表[无总页数]
export function logBigDataPage(data) {
  return request<BigDataPageRes<LogModel>>({
    url: '/log/log/bigDataPage',
    method: 'post',
    data
  })
}
